snapcraft list-keys returns no keys, but the user has keys
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
I am here with ogra checking the snapcraft list-keys command:
$ snapcraft list-keys
Name SHA3-384 fingerprint
It returns nothing for our real users. Mine is <email address hidden>.
When we try to create a key:
$ snapcraft create-key
You have already registered a key named 'default'
It says that we already have a default key. But list-keys is not showing it.
I tried this with a new test user. I ran list-keys and it showed nothing. Then I ran snapcraft create-key and created the default key. Then I ran list-keys, and the key is shown:
$ snapcraft keys
Name SHA3-384 fingerprint
- default EjOBIMR_SUxu6z141hsAB22FBTzzkOf606psj0PXMyu2eMZrc3Vb-TaP7r6CAmUV (not registered)
So there's something weird going on with my user and with ogra's. I'm reporting this bug, because it sounds like a bug to me. But maybe somebody with more experience in keys can tell us if we are doing something wrong.
Evaluation history
No evaluation history available.